Crate wasmer_registry
source ·Expand description
High-level interactions with the Wasmer backend.
The GraphQL schema can be updated by running make
in the Wasmer repo’s
root directory.
$ make update-graphql-schema
curl -sSfL https://registry.wasmer.io/graphql/schema.graphql > lib/registry/graphql/schema.graphql
Re-exports§
pub use crate::config::format_graphql;
pub use crate::config::WasmerConfig;
pub use crate::package::Package;
Modules§
Structs§
- A library that exposes bindings to a Wasmer package.
- The generator used to create
Bindings
. - API client for the Wasmer registry.
Enums§
Statics§
Functions§
- Whether the top-level directory should be stripped
- List all bindings associated with a particular package.
- Returns the download info of the packages, on error returns all the available packages i.e. ((“foo/python”, “wasmer.io”), (“bar/python” “wasmer.io”)))
- Convenience function that will unpack .tar.gz files and .tar.bz files to a target directory (does NOT remove the original .tar.gz)